-- GENERATED SPELL FOR [Highland Lashtail] --


function spell0_1016(pUnit, Event) --@Lash,n/a--
pUnit:FullCastSpellOnTarget(6607,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1016', 1000, 1)
end

function Sorts_1016(pUnit, Event)
local choix_sorts_1016 = math.random(0, 0)
if choix_sorts_1016 == 0 then
pUnit:RegisterEvent('spell0_1016', 1, 1)
end
end

function mob1016_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1016', math.random(1500, 3000), 1)
end

function mob1016_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1016_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1016_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1016, 1, 'mob1016_Action')
RegisterUnitEvent(1016, 2, 'mob1016_Leave')
RegisterUnitEvent(1016, 3, 'mob1016_Kill')
RegisterUnitEvent(1016, 4, 'mob1016_Die')
